#ifndef FRMADDEMPLOYEE_H
#define FRMADDEMPLOYEE_H
#include "Used_head.h"
#include <QMainWindow>

namespace Ui {
class FrmAddEmployee;
}

class FrmAddEmployee : public QMainWindow
{
    Q_OBJECT

public:
    explicit FrmAddEmployee(QWidget *parent = nullptr);
    ~FrmAddEmployee();

private slots:
    void on_btnAddandContinue_clicked();

    void on_btnAddandClose_clicked();

private:
    Ui::FrmAddEmployee *ui;
    bool judge(int id, string name, string phone, string depart);
};

#endif // FRMADDEMPLOYEE_H
